Foxit PDF RDK
|
Functions | |
function export | AsyncRenderPage (cb(state);, doc, render, page, matrix, pause) |
Variables | |
const | e_AlignmentCenter |
Center alignment. | |
const | e_AlignmentLeft |
Enumeration for alignment (horizontal). More... | |
const | e_AlignmentRight |
Right alignment. | |
const | e_ColorSpaceCalGray |
Color space: CalGray. (1 component, A) | |
const | e_ColorSpaceCalRGB |
Color space: CalRGB. (3 components, A, B, C) | |
const | e_ColorSpaceDeviceCMYK |
Color space: DeviceCMYK. (4 components, C, M, Y, K) | |
const | e_ColorSpaceDeviceGray |
Color space: DeviceGray. (1 component, gray) | |
const | e_ColorSpaceDeviceN |
Color space: DeviceN. | |
const | e_ColorSpaceDeviceRGB |
Color space: DeviceRGB. (3 components, R, G, B) | |
const | e_ColorSpaceICCBasedDeviceCMYK |
Color space: ICCBased DeviceCMYK. (4 components, C, M, Y, K) | |
const | e_ColorSpaceICCBasedDeviceGray |
Color space: ICCBased DeviceGray. (1 component, gray) | |
const | e_ColorSpaceICCBasedDeviceRGB |
Color space: ICCBased DeviceRGB. (3 components, R, G, B) | |
const | e_ColorSpaceInvalid |
Enumeration for color space. More... | |
const | e_ColorSpaceLab |
Color space: Lab. (3 components, A, B, C) | |
const | e_ColorSpacePattern |
Color space: Pattern. | |
const | e_ColorSpaceSeparation |
Color space: Separation. | |
const | e_FileFormatTypeFDF |
Enumeration for file format type. More... | |
const | e_FileFormatTypeHTML |
File format type: HTML. | |
const | e_FileFormatTypePDF |
File format type: PDF. | |
const | e_FileFormatTypeTXT |
File format type: TXT. | |
const | e_FileFormatTypeXDP |
File format type: XDP. | |
const | e_FileFormatTypeXFD |
File format type: XFD. | |
const | e_FileFormatTypeXFDF |
File format type: XFDF. | |
const | e_FileFormatTypeXML |
File format type: XML. | |
const | e_FillModeAlternate |
Alternate fill mode, in which the system fills this area between odd-numbered and even-numbered polygon sides on each scan line. | |
const | e_FillModeNone |
Enumeration for filling mode type, mainly for path graphics object. More... | |
const | e_FillModeWinding |
Winding fill mode, in which the system uses a direction in which a figure is drawn to determine whether to fill an area. | |
const | e_LocaleIDFrance |
Locale ID for country: France. | |
const | e_LocaleIDGermany |
Locale ID for country: Germany. | |
const | e_LocaleIDHongKong |
Locale ID for region: HongKong. | |
const | e_LocaleIDItaly |
Locale ID for country: Italy. | |
const | e_LocaleIDJapan |
Locale ID for country: Japan. | |
const | e_LocaleIDKorea |
Locale ID for country: Korea. | |
const | e_LocaleIDNetherlands |
Locale ID for country: Netherlands. | |
const | e_LocaleIDTaiwan |
Locale ID for region: Taiwan. | |
const | e_LocaleIDUnspecified |
Enumeration for locale ID. More... | |
const | e_ModuleNameAccessibility |
Name for module "Accessibility". | |
const | e_ModuleNameAdvEdit |
Name for module "AdvEdit". | |
const | e_ModuleNameComparison |
Name for module "Comparison". | |
const | e_ModuleNameCompliance |
Name for module "Compliance". | |
const | e_ModuleNameConnectedPDF |
Enumeration for module name which is used in license information. More... | |
const | e_ModuleNameConversion |
Name for module "Conversion". | |
const | e_ModuleNameDWG2PDF |
Name for module "DWG2PDF". | |
const | e_ModuleNameLayoutRecognition |
(Reserved, currently, this module is not provided) Name for module "LayoutRecognition". | |
const | e_ModuleNameOCR |
Name for module "OCR". | |
const | e_ModuleNameOptimizer |
Name for module "Optimizer". | |
const | e_ModuleNamePDF2Office |
Name for module "PDF2Office". | |
const | e_ModuleNameRedaction |
Name for module "Redaction". | |
const | e_ModuleNameRMS |
Name for module "RMS". | |
const | e_ModuleNameTableMaker |
Name for module "TableMaker". | |
const | e_ModuleNameXFA |
Name for module "XFA". | |
const | e_PosBottomCenter |
Position: bottom center. | |
const | e_PosBottomLeft |
Position: bottom left. | |
const | e_PosBottomRight |
Position: bottom right. | |
const | e_PosCenter |
Position: center. | |
const | e_PosCenterLeft |
Position center left. | |
const | e_PosCenterRight |
Position: center right. | |
const | e_PosTopCenter |
Position: top center. | |
const | e_PosTopLeft |
Enumeration for watermark position in a PDF page. More... | |
const | e_PosTopRight |
Position: top right. | |
const | e_Rotation0 |
Enumeration for rotation. More... | |
const | e_Rotation180 |
Rotate 180 degrees in clockwise direction. | |
const | e_Rotation270 |
Rotate 270 degrees in clockwise direction. | |
const | e_Rotation90 |
Rotate 90 degrees in clockwise direction. | |
const | e_RotationUnknown |
Unknown rotation. | |
This namespace is used to encapsulate the types and functionality associated with Foxit RDK (Rapid Development Kit). Contains tools, interfaces, and enumerations for working with PDF documents.
function export FoxitRDKNative.AsyncRenderPage | ( | cb(state); | , |
doc | , | ||
render | , | ||
page | , | ||
matrix | , | ||
pause | |||
) |
Asynchronously renders a PDF page using the provided rendering options.
{Function} | cb - A callback function that is called with the rendering state. The state can indicate different stages or statuses of the rendering process. |
{Renderer} | render - The renderer instance used to perform the rendering of the PDF page. |
{PDFPage} | page - The PDF page object to be rendered. |
{Matrix2D} | matrix - A matrix defining the transformation to apply to the page during rendering. This can include operations like scaling, rotation, and translation. |
{PauseCallback} | pause - A callback that may be called to pause the rendering process. This can be used to temporarily halt rendering, for example, to wait for resources to load. |
const FoxitRDKNative.e_AlignmentLeft |
Enumeration for alignment (horizontal).
Values of this enumeration should be used alone.
Left alignment.
const FoxitRDKNative.e_ColorSpaceInvalid |
Enumeration for color space.
Values of this enumeration should be used alone.
Color space: Invalid.
const FoxitRDKNative.e_FileFormatTypeFDF |
Enumeration for file format type.
Values of this enumeration can be used alone.
File format type: FDF.
const FoxitRDKNative.e_FillModeNone |
Enumeration for filling mode type, mainly for path graphics object.
Values of this enumeration should be used alone.
Fill mode: none.
const FoxitRDKNative.e_LocaleIDUnspecified |
Enumeration for locale ID.
Values of this enumeration can be used alone.
Locale ID: Unspecified, used when locale is not specified.
const FoxitRDKNative.e_ModuleNameConnectedPDF |
Enumeration for module name which is used in license information.
Values of this enumeration should be used alone.
(Reserved, currently, this module is not provided) Name for module "ConnectedPDF".
const FoxitRDKNative.e_PosTopLeft |
Enumeration for watermark position in a PDF page.
Values of this enumeration should be used alone.
Position: top left.
const FoxitRDKNative.e_Rotation0 |
Enumeration for rotation.
Values of this enumeration should be used alone.
No rotation.